package com.yehaikeji.workflow.mapper;

import java.util.List;
import java.util.Map;

import com.yehaikeji.workflow.bean.user;

public interface userMapper {
    int deleteByPrimaryKey(String userid);

    int insert(user record);

    int insertSelective(user record);

    user selectByPrimaryKey(String userid);

    int updateByPrimaryKeySelective(user record);

    int updateByPrimaryKey(user record);
    
    int updateByuserName(Map<String, Object> map);
    
    user selectByuserName(String name);
    
    List<user> selectfiltratelist(Map<String, Object> map);
    
    List<user> selectByNameAndPassword(Map<String,String> paramMap);
    
    user selectByAccessToken(String accessToken);
}